.class Lcom/xingbook/park/fragment/g;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic a:Lcom/xingbook/park/fragment/HomeMineFragment;


# direct methods
.method constructor <init>(Lcom/xingbook/park/fragment/HomeMineFragment;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/park/fragment/g;->a:Lcom/xingbook/park/fragment/HomeMineFragment;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 6

    const/16 v0, 0xc8

    const/4 v5, 0x1

    const/4 v4, 0x0

    const/4 v1, -0x1

    invoke-static {}, Lcom/xingbook/park/f/s;->a()Lcom/xingbook/park/f/s;

    move-result-object v2

    invoke-virtual {v2}, Lcom/xingbook/park/f/s;->b()Lcom/xingbook/park/e/c;

    move-result-object v2

    if-eqz v2, :cond_1

    invoke-virtual {v2}, Lcom/xingbook/park/e/c;->e()I

    move-result v3

    if-ne v3, v0, :cond_1

    invoke-virtual {v2}, Lcom/xingbook/park/e/c;->a()I

    move-result v1

    if-nez v1, :cond_0

    iget-object v1, p0, Lcom/xingbook/park/fragment/g;->a:Lcom/xingbook/park/fragment/HomeMineFragment;

    invoke-virtual {v1}, Lcom/xingbook/park/fragment/HomeMineFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    if-eqz v1, :cond_3

    invoke-virtual {v1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    invoke-static {v1}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v1

    :goto_0
    if-eqz v1, :cond_0

    invoke-virtual {v1, v5}, Lcom/xingbook/c/n;->a(Z)V

    :cond_0
    move v1, v0

    :cond_1
    iget-object v0, p0, Lcom/xingbook/park/fragment/g;->a:Lcom/xingbook/park/fragment/HomeMineFragment;

    invoke-virtual {v0}, Lcom/xingbook/park/fragment/HomeMineFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    check-cast v0, Lcom/xingbook/park/activity/HomeActivity;

    if-eqz v0, :cond_2

    invoke-virtual {v0}, Lcom/xingbook/park/activity/HomeActivity;->c()V

    :cond_2
    iget-object v0, p0, Lcom/xingbook/park/fragment/g;->a:Lcom/xingbook/park/fragment/HomeMineFragment;

    invoke-static {v0}, Lcom/xingbook/park/fragment/HomeMineFragment;->b(Lcom/xingbook/park/fragment/HomeMineFragment;)Lcom/xingbook/park/fragment/h;

    move-result-object v0

    invoke-virtual {v0, v5, v1, v4, v2}, Lcom/xingbook/park/fragment/h;->obtainMessage(IIILjava/lang/Object;)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    iget-object v0, p0, Lcom/xingbook/park/fragment/g;->a:Lcom/xingbook/park/fragment/HomeMineFragment;

    invoke-static {v0, v4}, Lcom/xingbook/park/fragment/HomeMineFragment;->a(Lcom/xingbook/park/fragment/HomeMineFragment;Z)V

    return-void

    :cond_3
    invoke-static {}, Lcom/xingbook/c/n;->a()Lcom/xingbook/c/n;

    move-result-object v1

    goto :goto_0
.end method
